// Copyright (C) 2024 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

.pf-tab-handle {
  display: flex;
  align-items: baseline;

  &__tabs {
    display: flex;
    overflow: hidden;
    flex: 1;
  }

  &__tab {
    font-family: "Roboto Condensed", sans-serif;
    color: #3c4b5d;
    padding: 4px;
    margin-top: 3px;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    border-radius: 3px 3px 0 0;
    background-color: #0000000f;
    border-right: solid 1px hsla(0, 0%, 75%, 1);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    z-index: 5;
    box-shadow: #0000003b 0px 0px 3px 1px;
    display: flex;
    align-items: baseline;
    gap: 2px;

    &:hover {
      background-color: hsla(0, 0%, 85%, 1);
    }

    &[active] {
      background-color: white;
      cursor: default;
    }

    &:nth-child(1) {
      margin-left: 3px;
    }
  }

  &__tab-title {
    margin: 0px 4px;
    overflow: hidden;
  }
}
